﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace LogManager.ViewModels
{
    public class DateFilterViewModel
    {
        public DateFilterViewModel()
        {
            Start = DateTime.Now.AddMonths(-1);
            End = DateTime.Now;
        }

        [Display(Name = "Time Start")]
        [DataType(DataType.DateTime)]
        public DateTime Start { get; set; }

        [Display(Name = "Time End")]
        [DataType(DataType.DateTime)]
        public DateTime End { get; set; }
    }
}